package cn.getech.data.development.service;

import cn.getech.data.development.controller.search.SearchDetail;
import cn.getech.data.development.entity.dataMap.BdpTableUseInfo;
import cn.getech.data.development.entity.dataMap.SearchHistory;
import cn.getech.data.development.model.req.search.DataSearchReq;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SearchHistoryService extends IService<SearchHistory> {


    /**
     * 查询数据
     */
    JSONObject searchPage(DataSearchReq params);

    /**
     * 查询数据详情
     * @param param
     */
    JSONObject searchDetail(SearchDetail param);

    /**
     * 保存使用说明
     */
    Integer saveUseInfo(BdpTableUseInfo param);

    void saveHistory(SearchHistory param);

    List<SearchHistory> historyList(SearchHistory param);
}


